/**
 * Created by zhangsong on 2019-05-13.
 */

const columns = {
  listitem: {
    contractnumber: 'Contract number',
    checkedspecified: 'Checked specified',
  },
  headPhoto: {
    name: 'Photograph',
    errMessage: 'Please upload photos',
  },
  surname: {
    name: 'Surname',
    longText: 'Surname/Family Name',
    errMessage: 'Please select surname!',
  },
  otherName: {
    name: 'Other Names',
  },
  sex: {
    name: 'Sex',
    errMessage: 'Please select sex!',
  },
  nameAlias: {
    name: 'Name in Chinese',
    longText: 'Name in Chinese (if any)',
  },
  commercialCodeAlias: {
    name: 'Name in Chinese Commercial Code',
    longText: 'Name in Chinese Commercial Code (if any)',
  },
  identityCard: {
    name: 'Identity Card',
    errMessage: 'Please input!',
    rez: 'Please enter the correct ID card format!',
  },
  birthday: {
    name: 'Date of Birth',
    longText: 'Date of Birth (Day/Month/Year)',
  },
  placeOfBirth: {
    name: 'Place and Country of Birth',
  },
  nationality: {
    name: 'Nationality',
  },
  address: {
    name: 'Home Address (Hong Kong) :',
    errMessage: 'Please input Home Address!',
  },
  telephone: {
    name: 'Office Telephone Number',
    longText: 'Telephone Number: (Office)',
    errMessage: 'Please input telephone!',
  },
  telephoneSpare: {
    name: 'Home Telephone Number',
    longText: '(Home)',
  },
  emergencyContactedName: {
    name: 'contactedName',
    longText: 'Name',
    errMessage: 'Please input contacted name!',
    rez: 'Please enter an 8-digit mobile phone number!',
  },
  emergencyContactedRelationship: {
    name: 'Relationship',
  },
  emergencyContactedAddress: {
    name: 'Address',
    errMessage: 'Please input contacted address!',
  },
  emergencyContactedTelephone: {
    name: 'Telephone No',
    errMessage: 'Please input contacted telephone!',
  },
  annexes: {
    name: 'file',
    groupname: 'Group Name',
    creatgroupname: 'Creat Group Name',
  },

  contractNumber: {
    name: 'Main Contract Number is',
    errMessage: 'Please input contractNumber!',
    errcontraMsg: 'Please select a subcontractor',
  },
  contractPosition: {
    name: 'Position',
  },
  contractSubcontractor: {
    name: 'Sub-Contractor',
  },
  contractEmployer: {
    name: 'Employers Name',
  },
  contractFrom: {
    name: 'from',
  },
  contractTo: {
    name: 'to',
    errMessage: 'please select date',
  },
  contractVehicle: {
    name: 'Classification of vehicle permitted to drive',
  },

  contractResident: {
    name: 'Resident',
    resident: 'Resident',
    unresident: 'Non resident',
  },
  contractApplicantDrive: {
    name: 'The applicant is / is not *  required to drive on the Project Site.',
    applicant: 'applicant',
    disApplicant: 'Non applicant',
  },
  checkedApproved: {
    name: 'approved',
    approved: 'Approved',
    disapproved: 'Rejected',
  },
  checkedClassification: {
    name: 'Classification',
  },
  checkedSpecified: {
    name: 'Specified Zones(s)',
    errMessage: 'Please input Specified Zones!',
  },
  checkedExpiry: {
    name: 'Expiry Date',
    errMessage: 'Please select Expiry Date!',
  },
  checkedReasons: {
    name: 'Reasons(if disapproved)',
  },
  application: {
    norestricti: 'Reasons : (if disapproved)',
    classification: '',
    specified: ':',
  },
  drivingLicenseExpire: {
    name: 'driving license expire',
  },
  greencard: 'Please complete your green card information',
};

const text = {
  partB: {
    company: 'The applicant is a Permanent Employee of our Company, working in the capacity of:',
    possify:
      'This is to certify that the applicant is in possession of a valid Driving Licence to drive in Hong Kong.',
    atteify:
      'This is to certify that the applicant has attended Safety Induction Course approved by the Authority.',
    depm:
      'I also agree that applicant will be subject to SECURITY CHECKS with Hong Kong Government Departments as authorised by the Authority.',
  },
  partC: {
    relevant: 'Application and relevant document(s) checked.',
    restrictions: 'Restrictions: (if approved)',
  },
};

const tips = {
  previewPDF: 'Do you need to preview PDF?',
  noSupportedPDF: 'The PDF is not uploaded and preview of the PDF is not supported.',
};

const temporary = {
  cardType: 'card type',
  onecard: 'one-time card',
  temcard: 'temporary card',
  loction: 'location',
  name: 'name',
  time: 'effective date',
  email: 'email',
  escortername: 'Escort Name',
  escortertel: 'Escort Telephone No.',
  escorterpass: 'Escort person TRD pass No.',
  errMessage: {
    name: 'Please type in your name',
    time: 'Please enter an expiry date',
    tel: 'Please enter phone',
    loction: 'Please select a region to visit',
    email: 'please input your email',
    connum: 'Please select the main subcontractor number',
    escname: 'Please enter the name of the escort',
    esctel: 'Please enter the escort phone number',
    escpass: 'Please enter escort pass',
    cardtype: 'Please select card type',
    onetext: '(A one-time card:can only have one entry and exit within a certain period of time, while a temporary card:can have multiple entries and exits within a certain period of time.）',
  },
  tip: 'After the effective date is modified, the previous QR code will become invalid and re-approved',
  hint: 'hint',
  record: 'Are you sure you want to cancel this record',
  qrcode: 'Preview QR code',
  sendemail: 'Send E-mail',
  cancelled: 'Cancelled',
  trdpass: 'Add a permanent TRD Pass',
}

export default {
  columns,
  text,
  tips,
  temporary,
};
